﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonApp
{
    public static class DynamicHelper
    {
        public static bool Exists(object item, string Field)
        {
            var property = item.GetType().GetProperty(Field);
            return property!= null && property.GetValue(item, null) != null;
        }
    }
}
